Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for Client Initiated Backchannel Login
Docs
Changes:
backchannel
property inauthenticationClient
, source located atsrc/auth/backchannel.ts
Test results:
PASSING
Steps for manual testing:
Enable CIBA feature flag on your tenant (currently in EA)
Once CIBA is enabled, navigate to Applications>Applications in the Auth0 Dashboard. Create
an application and then enable the Client Initiated Backchannel Authentication (CIBA) option
in the Grant Types tab
Enable Push Notifications using Auth0 Guardian in Multi-factor Auth in Security.
Enrol a user for MFA
Send a CIBA request as below and poll for the backchannel grant in regular intervals
Notes:
There are some restrictions on the types of clients that can use the CIBA grant type. You can
only use the CIBA grant type if:
token_endpoint_auth_method property must not be set to none.
default for all new clients.
Alternatively, you can use the Management API to add the
urn:openid:params:grant-type:ciba
grant type to the list of grant types on the clientobject: